package com.logistics.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.logistics.compont.QueryPageParam;
import com.logistics.compont.ResponseApi;
import com.logistics.pojo.Orderinfo;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * 服务层接口
 * @author Administrator
 *
 */
public interface OrderinfoService extends IService<Orderinfo> {

    public Page findPage(QueryPageParam queryPageParam);
    public void updateState(Map<String,Object> paramMap);
    public void updateOrder(Orderinfo orderinfo);
    public void del(String onum);
    public void batchUpdateState(List<String> onumIds, String state);
    public Orderinfo findOrderByOnum(String onum);

    public void exportExcel(List<String> onumIds);
    public void importData(List<Orderinfo> orderinfoList);

    public Map<String,Map<String,Integer>> statisitcsOrder();

}
